package org.prototype.bank.exceptions;

public class TransferException extends Exception {
	private static final long serialVersionUID = 1L;

	private String error;

	public TransferException() {
		super();
		error = "unknown";
	}

	public TransferException(String error) {
		super(error);
		this.error = error;
	}

	public TransferException(String error, Throwable cause) {
		super(error, cause);
		this.error = error;
	}
	
	public String getError() {
		return error;
	}
}
